package com.pinyoumei.app.bean;

import java.math.BigDecimal;

/**
 * Created by Administrator on 2021-09-02.
 * --------- 日期 ------- 维护人 ------------ 变更内容 --------
 * 2021-09-02        Administrator             新增Person类
 * 2021-09-02        Administrator             增加sex属性
 */
public class OrderSubmitBean {

    /**
     * code : 1
     * errors : {}
     * msg : 订单提交成功
     * result : {"user_balance":100,"can_balance_pay":1,"total_price":99.98,"order_id":"f199bebcb43a4a80a33f081f56349511"}
     */

    private int code;
    private ErrorsBean errors;
    private String msg;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ErrorsBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorsBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ErrorsBean {
    }

    public static class ResultBean {
        /**
         * user_balance : 100
         * can_balance_pay : 1
         * total_price : 99.98
         * order_id : f199bebcb43a4a80a33f081f56349511
         */

        private BigDecimal user_balance;
        private int can_balance_pay;
        private BigDecimal total_price;
        private String order_id;
        private double happy_coupon;

        public double getHappy_coupon() {
            return happy_coupon;
        }

        public void setHappy_coupon(double happy_coupon) {
            this.happy_coupon = happy_coupon;
        }

        public BigDecimal getUser_balance() {
            return user_balance;
        }

        public void setUser_balance(BigDecimal user_balance) {
            this.user_balance = user_balance;
        }

        public int getCan_balance_pay() {
            return can_balance_pay;
        }

        public void setCan_balance_pay(int can_balance_pay) {
            this.can_balance_pay = can_balance_pay;
        }

        public BigDecimal getTotal_price() {
            return total_price;
        }

        public void setTotal_price(BigDecimal total_price) {
            this.total_price = total_price;
        }

        public String getOrder_id() {
            return order_id;
        }

        public void setOrder_id(String order_id) {
            this.order_id = order_id;
        }
    }
}
